//
//  ViewController.h
//  myhuibao
//
//  Created by lijun on 13-2-4.
//  Copyright (c) 2013年 myhuibao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LeveyPopListView.h"
#import "ASIHTTPRequest.h"
#import "ASIFormDataRequest.h"

@class RequestLoadingView;

@interface PromotionSearchViewController:UIViewController<UIWebViewDelegate,LeveyPopListViewDelegate>
{
    int pageIndex;
    int returnCount;
    NSMutableArray *tableDataArray;
    bool backList;//true点击返回，返回列表，false返回首页
    int merchantId;//商户id
    bool isSearchFinished;
    bool isSearchMoreFinished;
    bool isNewsFinished;
    NSMutableArray *TypeArray;
    int oneType;
    
    RequestLoadingView *loadingView;
}
@property (strong, nonatomic) IBOutlet UITableView *mainTable;
//@property (assign) int cityId;
//@property (assign) int areaId;
//@property (assign) NSString *diningDate;
//@property (assign) int diningTime;
//@property (assign) int boxType;
//@property (assign) int capacity;
@property (strong, nonatomic) IBOutlet UILabel *lbAddress;
@property (strong, nonatomic) IBOutlet UILabel *lbTitle;
- (IBAction)doClose:(id)sender;
@property (unsafe_unretained) ASIFormDataRequest *reqSearch;
@property (unsafe_unretained) ASIFormDataRequest *reqSearchMore;
@property (unsafe_unretained) ASIHTTPRequest *reqNews;
@property (strong, nonatomic) IBOutlet UIView *uvContent;
@property (strong, nonatomic) IBOutlet UIWebView *wvContent;
@property (strong, nonatomic) IBOutlet UILabel *lbTime;
@property (strong, nonatomic) IBOutlet UILabel *lbAuthor;
@property (strong, nonatomic) IBOutlet UILabel *lbMainTitle;
@property (strong, nonatomic) IBOutlet UIButton *btMerchant;
- (IBAction)showMerchant:(id)sender;
- (IBAction)doBack:(id)sender;

@end
